﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="EditMatch.aspx.cs" Inherits="TsWeb.Matches.EditMatch" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="LeftContent" runat="server">
<div class="well sidebar-nav">
            <ul class="nav nav-list">
              
                
 <li class="nav-header">Comentarios</li>

 </ul>
 </div>


</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Path="~/Scripts/jquery-1.9.1.js" />
            <asp:ScriptReference Path="~/Scripts/bootstrap.min.js" />
        </Scripts>
    </asp:ScriptManager>
     <asp:UpdatePanel ID="UpdatePanel2" runat="server">
           

        <ContentTemplate>
<h4>Editar encuentro</h4>
    <asp:Table ID="Table1" runat="server" CellSpacing="5" CellPadding="5" CssClass="table">
        <asp:TableRow ID="TableRow1" runat="server" CssClass="row-fluid">
            <asp:TableCell>
                <asp:Label ID="lblSport" runat="server" CssClass="text-center">Deporte:  </asp:Label>
                <ajaxToolkit:ComboBox ID="ddl_sports" runat="server" DataValueField="SportId" 
                    OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" AutoPostBack="True" CssClass="input-medium" 
                    DataTextField="Name">
                </ajaxToolkit:ComboBox>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow3" runat="server" CssClass="row-fluid">
            <asp:TableCell>
                <asp:Label ID="Label2" runat="server">Fecha:</asp:Label>
                <asp:TextBox ID="txtDate" runat="server"></asp:TextBox>
                <ajaxToolkit:CalendarExtender ID="CalendarExtender2" runat="server" Enabled="True"
                    TargetControlID="txtDate">
                </ajaxToolkit:CalendarExtender>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow2" runat="server" CssClass="row-fluid">
            <asp:TableCell>
                <asp:DropDownList ID="DDL1_teamHome" runat="server" DataTextField="Name" DataValueField="TeamId">
                </asp:DropDownList>
                <asp:DropDownList ID="DDL2_teamVisitor" runat="server" DataTextField="Name" DataValueField="TeamId">
                </asp:DropDownList>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow4" runat="server" CssClass="row-fluid">
            <asp:TableCell>
                <asp:Label ID="lbl_winner" runat="server" Text="Ganador"></asp:Label>
                <asp:DropDownList ID="ddl_winner" runat="server">
                </asp:DropDownList>
            </asp:TableCell>
        </asp:TableRow>
    </asp:Table>
      <asp:Button ID="UserButton" runat="server" Text="Actualizar" CssClass="btn btn-primary"
                        OnClick="UpdateMatchButton_Click" />
    </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
